<?php

namespace App\Http\Controllers\Common;

use App\Models\Admin\CollPlace;
use Illuminate\Http\Request;
use Cache;


class PlaceController extends CommonController{
    /**
     * 获取地标信息
     * @return array
     * $pid:当前县级市的id
     */
    public function place(Request $request){
        $place = CollPlace::getPlace($request->pid);
        return response()->json($place);
    }
}